package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @program: report
 * @description:
 * @author: Bennie
 * @create: 2020-07-01 16:20
 **/

@TableName(value = "t_image_data")
@Data
@Accessors(chain = true)
public class ImageData {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.UUID)
    private String id;

    @JSONField(name = "ImageUrl")
    @TableField(value = "ImageUrl")
    private String imageUrl;

    @JSONField(name = "ImageTag")
    @TableField(value = "ImageTag")
    private String imageTag;

    @JSONField(name = "CreateTime")
    @TableField(value = "CreateTime")
    private LocalDateTime createTime;

    @JSONField(name = "CreateUser")
    @TableField(value = "CreateUser")
    private String createUser;

}
